<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>List of All Item Types</title>
<style type="text/css">
			/* YOU CAN ADD EVERY CSS STYLES HERE !!!! 
            * I WILL WRAP ALL THIS UP TO ONE CSS FILE LATER
            */
			#itemtypeListBox{border-style:solid; border-color:#5db2e9; width:300px; height:300px; font-size:12pt;}
		</style>
</head>
<body>

<%@ page import="controllers.Accessdb" %>
<%
	Accessdb idc = new Accessdb();
	ArrayList<String[]> itemType = idc.getListOfItemType(); 

%>

	<form name="itemtypelistform">
	<select name="itemtypeList" id="itemtypeListBox" multiple="multiple">

	<option selected value="">Select...</option>	
		
<%	for(int i =0; i< itemType.size(); i++)
		for(int j=0; j< itemType.get(i).length; j++)
		{
			
			out.println("<option value= " + itemType.get(i)[j] + ">" + itemType.get(i)[j] +"</option>");
  
			
  } %>  

	</select>
	</form>
</body>
</html>